package com.nook.service.impl;

import com.nook.model.SysUser;
import com.nook.repository.ISysUserRepository;
import com.nook.service.ISyserUserService;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;

import java.util.List;

@Component
public class SyserUserServiceImpl implements ISyserUserService {
    @Inject
    ISysUserRepository sysUserRepository;

    @Override
    public List<SysUser> findAll()
    {
        return sysUserRepository.findAll();
    }
}
